/**
 * 
 */
package json_objects_send;

import java.util.List;

/**
 * @author Alejandro Casas
 *
 */
//TODO AGREGAR NAME FROM, MINI PICTURE FROM
public class Friend_request {

	private String date;
	private String mailFrom;
	private String mailTo;
	private int friends_in_common_int;
	private List<CommonUser> friends_in_common;
	
	
	/**
	 * @return the friends_in_common_int
	 */
	public int getFriends_in_common_int() {
		return friends_in_common_int;
	}
	/**
	 * @param friends_in_common_int the friends_in_common_int to set
	 */
	public void setFriends_in_common_int(int friends_in_common_int) {
		this.friends_in_common_int = friends_in_common_int;
	}
	/**
	 * @return the friends_in_common
	 */
	public List<CommonUser> getFriends_in_common() {
		return friends_in_common;
	}
	/**
	 * @param friends_in_common the friends_in_common to set
	 */
	public void setFriends_in_common(List<CommonUser> friends_in_common) {
		this.friends_in_common = friends_in_common;
	}
	/**
	 * @return the date
	 */
	public String getDate() {
		return date;
	}
	/**
	 * @param date the date to set
	 */
	public void setDate(String date) {
		this.date = date;
	}
	/**
	 * @return the mailFrom
	 */
	public String getMailFrom() {
		return mailFrom;
	}
	/**
	 * @param mailFrom the mailFrom to set
	 */
	public void setMailFrom(String mailFrom) {
		this.mailFrom = mailFrom;
	}
	/**
	 * @return the mailTo
	 */
	public String getMailTo() {
		return mailTo;
	}
	/**
	 * @param mailTo the mailTo to set
	 */
	public void setMailTo(String mailTo) {
		this.mailTo = mailTo;
	}
	/**
	 * @param date
	 * @param mailFrom
	 * @param mailTo
	 */
	public Friend_request(String date, String mailFrom, String mailTo,List<CommonUser> fic) {
		this.date = date;
		this.mailFrom = mailFrom;
		this.mailTo = mailTo;
		this.friends_in_common=fic;
		this.friends_in_common_int=fic.size();
	}
	
	
}
